package com.daiyi.test;

import com.daiyi.dao.userDao;

import java.util.List;
import com.daiyi.entity.user;

public class Test
{
    public static void main(String[] args)
    {
        userDao obj = new userDao();
        List<user> list = obj.Query();

        for(user u : list)
        {
            System.out.println(u.getId()+" "
                    +u.getUserName()+" "
                    +u.getUserPassword());

        }
    }
}
